package com.leon.alishop.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.leon.alishop.model.ProviderInfo;

public interface ProviderInfoDao {
	public ProviderInfo findByTaobaoHomeUrl(String taobaoUrl);

	public ProviderInfo selectById(Integer id);

	public List<ProviderInfo> selectByIds(Integer[] ids);

	public List<ProviderInfo> findAllProviderInfo(@Param("id")Integer id,@Param("status")Integer status,
			@Param("startRows") int startRows, @Param("maxRows") int maxRows);

	public int insertSelective(ProviderInfo providerInfo);

	public int updateByIdSelective(ProviderInfo providerInfo);

}
